package org.dromara.system.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.system.domain.IndexManagementDetail;

/**
 * 指标管理明细业务对象 index_management_detail
 *
 * @author Lion Li
 * @date 2025-10-23
 */
@Data
@AutoMapper(target = IndexManagementDetail.class, reverseConvertGenerate = false)
public class IndexManagementDetailBo {

    /**
     * 主键
     */
    private Long id;

    /**
     * 指标管理id
     */
    private Long managementId;

    /**
     * 分类
     */
    @NotNull(message = "分类", groups = { AddGroup.class, EditGroup.class })
    private String category;

    /**
     * 子分类
     */
    private String subCategory;

    /**
     * 扣分规则
     */
    private String deductionRule;

    /**
     * 说明
     */
    private String description;


}
